package dao.impl;

import dao.BaseDao;
import dao.BusinessDao;
import pojo.Business;

import java.util.List;

public class BusinessDaoImpl extends BaseDao implements BusinessDao {
    @Override
    public List<Business> findCanteenBus(String can_no) {
        String sql="select * from business WHERE can_no=?";
        return baseQuery(Business.class,sql,can_no);
    }

}
